<?php

namespace app\index\controller;

use app\common\controller\BaseController;
use core\Context;

class BackendController extends BaseController
{
    public function render($view, $data = [])
    {
        $user = Context::get('user');
        $data['user'] = $user;
        $this->view->render($view, $data);
    }
}
